<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>凤凰基金</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>skin/css/pf/link.css"/>
<script type="text/javascript" src="<%=basePath%>skin/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<%=basePath%>skin/js/pf/script.js"></script>
<script type="text/javascript" src="<%=basePath%>skin/js/common.js"></script>
</head>

<body>
<c:import url="/layouts/top.jsp" />
<!--二级页面大图-->
<div id="publics">
	<div class="bg" style="background:url(<%=basePath%>skin/images/pf/novice_bg.jpg) center no-repeat;">
		<p class="bgs" style="background:url(<%=basePath%>skin/images/pf/novice_bg1.jpg) center no-repeat;"></p>
	</div>
</div>
<!--二级页内容区-->
<div id="second">
	<div class="fair-details">
		<div class="top">
			<c:if test="${not empty product.source}">
				<img class="img" src="<%=basePath%>download.shtml?filepath=${product.source}" title="${product.name}"/>		  			
  			</c:if>
			<div class="conet">
				<p class="title">${product.name}</p>
				<ul class="earnings">
					<li>
						<p class="txt">日涨幅</p>
						<p class="figure rise">${product.rzf}</p>
					</li>
					<li>
						<p class="txt">月收益</p>
						<p class="figure fall">${product.ysy}</p>
					</li>
					<li>
						<p class="txt">发行以来收益</p>
						<p class="figure rise">${product.fxylsy}</p>
					</li>
					<p class="cast">一键跟投</p>
					<div id="clear"></div><!--清除浮动-->
				</ul>
				<div class="detail">
					<p class="left">
						<span class="txt">基金经理：<b>${product.jjjl}</b></span>
						<span class="txt">发行公司：<b>${product.fxgs}</b></span>
						<span class="txt">发行时间：<b>${product.fxrq}</b></span>
						<span class="txt">最近一次调仓：<b>${product.zjyctc} 建仓 ${product.jc}</b></span>
					</p>
					<div class="share">
						<span>分享到:</span>
						<div class="bdsharebuttonbox">
							<a title="分享到微信" href="#" class="bds_weixin" data-cmd="weixin"></a>
							<a title="分享到新浪微博" href="#" class="bds_tsina" data-cmd="tsina"></a>
							<a title="分享到腾讯微博" href="#" class="bds_tqq" data-cmd="tqq"></a>
							<a title="分享到QQ好友" href="#" class="bds_sqq" data-cmd="sqq"></a>
							<a title="分享到QQ空间" href="#" class="bds_qzone" data-cmd="qzone"></a>
						</div>
						<div id="clear"></div><!--清除浮动-->
						<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"32"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
					</div>
					<div id="clear"></div><!--清除浮动-->
				</div>
			</div>
		</div>
		<div class="bottom">
			<ul>
				<li>基金概况</li>
				<li>基金经理</li>
				<li>发行公司</li>
				<div id="clear"></div><!--清除浮动-->
			</ul>
			<div class="list">
				${product.jjgk}
			</div>
			<div class="list">
				${product.jjjljs}
			</div>
			<div class="list">
				${product.fxgsjs}
			</div>
		</div>
		<div class="correlation">
			<p class="tt">相关产品</p>
			<ul class="all">
				<c:forEach items="${products }" var="product" varStatus="status">
					<c:if test="${status.index < 4 }">
						<li>
							<c:if test="${not empty product.source}">
								<img src="<%=basePath%>download.shtml?filepath=${product.source}" title="${product.name}"/>		  			
				  			</c:if>
							<div class="conet">
								<a href="<%=basePath%>shop/product/detail.shtml?productId=${product.id}" class="title">${product.name}</a>
								<p class="txt">${product.introduction}</p>
								<p class="earnings">
				 					<span class="tite">月收益率</span>
				 					 <!--涨幅颜色用  红色  rise 绿色  fall-->
				 					<span class="exp rise">${product.ysy}</span>
				 				</p>
				 				<a href="<%=basePath%>shop/product/detail.shtml?productId=${product.id}" class="more">一键跟投</a>
							</div>
						</li>
					</c:if>
				</c:forEach>
				<div id="clear"></div><!--清除浮动-->
			</ul>
		</div>
	</div>
</div>
<c:import url="/layouts/foot.jsp" />
</body>
</html>
